package com.matt.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tuo51.foudation.model.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
import java.util.List;

/**
 * @author mengzhichao
 * @create 2025-02-20-10:44
 */
@Entity
@Data
@Table(name = "children_memorandum")
@NoArgsConstructor
@EqualsAndHashCode(callSuper=false)
public class ChildrenMemorandum extends Model {

    private String relChildrenMemorandumId;

    private String content;

    private String file;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    //创建人id
    private String createUserId;

    //创建人id
    private String createUserName;
}
